package com.anli.web;

import com.anli.service.ZkLockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: LCG
 * 作者: LCG
 * 日期: 2021/3/9  14:06
 * 描述:
 */
@RestController
public class TestZkLockController {

    @Autowired
    ZkLockService zkLockService;

    @RequestMapping("/zkLock")
    public void test() throws Exception {
        zkLockService.testZkLock("100",1);
    }

}
